#ifndef SERVEROSCTHREAD_H
#define SERVEROSCTHREAD_H


#include <QThread>
class OSCthulhuServer;
#include "OSCthulhuServer.h"

class ServerOSCThread : public QThread
{
    Q_OBJECT
public:
    ServerOSCThread(OSCthulhuServer* server);
    void run();
    void send(IpEndpointName ipEndpointName, osc::OutboundPacketStream p);
private:
    OSCthulhuServer* server;
    UdpReceiveSocket* receiveSocket;
    SocketReceiveMultiplexer mux;
};

#endif // SERVEROSCTHREAD_H
